CC=g++
CFLAGS=-Wall -g
LFLAGS=-L ./include

src=$(wildcard *.cpp)
targets=$(patsubst %.cpp, %, $(src))

all:$(targets)

$(targets):%:%.cpp
	$(CC) $< -o $@ $(CFLAGS) $(LFLAGS)

.PHONY:clean all
clean:
	- rm -rf $(targets) *.o -f